package com.ruoyi.hr.mapper.salaryadmin.salarychangecorrection;


import com.ruoyi.hr.domain.Authority;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SalaryChangeCorrectionMapper {
    List<Map<String, Object>> list(@Param("map") Map map, @Param("sql") String sql, @Param("authority") Authority authority);
    String procedure(@Param("sql") String sql);
    int updateSalary(Map map);
    String findNameByid(String id);
    /**
     * 查询历史数据
     * @param map
     * @param authority
     * @return
     */
    List<Map<String, Object>> findDataHistory(@Param("map") Map map, @Param("sql") String sql, @Param("authority") Authority authority);

}
